#include <olectl.h>	
#include <vfw.h>
#include <math.h>
#include <vector>
//#include "gl\glext.h"

#include <windows.h>								// Header File For Windows
#include <time.h>
#include <vfw.h>


#pragma comment( lib, "opengl32.lib" )				// Search For OpenGL32.lib While Linking
#pragma comment( lib, "glu32.lib" )					// Search For GLu32.lib While Linking
#pragma comment(lib,"vfw32.lib")

#define		TWO_PI 6.2831853071		// 2PI

#define EPSILON 1.0e-8
#define MIX_INVALID 0
#define MIX_DEFAULT 1
#define MIX_UNIT 2
#define PI 3.1415926

//template<class TEXTPROC>
//bool ExtensionInit(char* Extension_Name,TEXTPROC& pgEXT);

bool BuildTexture(char* workPath, char *szPathName, GLuint &texid);

BOOL LoadCubeMap(GLenum face, LPSTR szPathName);